package com.mss.media.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 资源表
 * </p>
 *
 * @author runqiang
 * @since 2021-12-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MediaResource extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * rid resource_id
     */
    @TableId(value = "resource_id", type = IdType.AUTO)
    private Long resourceId;

    /**
     * 上传时间 上传时间
     */
    private LocalDateTime uploadTime;

    /**
     * 资源url 资源url
     */
    private String resourceUrl;

    /**
     * 案例ID 案例ID
     */
    private Long caseId;

    /**
     * 资源文件夹 资源文件夹:案例类型-用户账号-时间（年月日）
     */
    private String resourceFolder;


}
